<?php
declare(strict_types=1);

namespace Common\Libs\Log;

use Common\Helpers\LoggingHelper;
use Psr\Container\ContainerExceptionInterface;
use Psr\Container\ContainerInterface;
use Psr\Container\NotFoundExceptionInterface;

class StdoutLoggerFactory
{
    /**
     * @throws ContainerExceptionInterface
     * @throws NotFoundExceptionInterface
     */
    public function __invoke(ContainerInterface $container)
    {
        return LoggingHelper::get('sys');
    }
}
